package com.hncc.dms.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 药品项目对象 dms_drug
 * 
 * @author HYJ
 * @date 2020-08-25
 */
@Data
public class DmsDrug extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 药品编码 */
    @Excel(name = "药品编码")
    private String code;

    /** 药品名称 */
    @Excel(name = "药品名称")
    private String name;

    /** 药品规格 */
    @Excel(name = "药品规格")
    private String format;

    /** 药品单价 */
    @Excel(name = "药品单价")
    private BigDecimal price;

    /** 包装单位 */
    @Excel(name = "包装单位")
    private String unit;

    /** 生产厂家 */
    @Excel(name = "生产厂家")
    private String manufacturer;

    /** 药品剂型 */
    @Excel(name = "药品剂型")
    private Long dosageId;

    /** 药品剂型名称 */
    @Excel(name = "药品剂型名称")
    private String dosageName;

    /** 药品类型 */
    @Excel(name = "药品类型")
    private Long typeId;

    /** 拼音助记码 */
    @Excel(name = "拼音助记码")
    private String mnemonicCode;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createDate;

    /** 库存 */
    @Excel(name = "库存")
    private Long stock;

    /** 通用名 */
    @Excel(name = "通用名")
    private String genericName;

    /** 状态 */
    private Integer status;

}
